<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<style>
		form input[type='text']{
			background-color: red;
		}
		form input[type='password']{
			background-color: yellow;
		}
		form #user{
			background-color: green;			
		}
	</style>
</head>
<body>
	
	<form action="">
		<input type="text" id="user">
		<input type="password">
	</form>
</body>
</html>